<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  
    xmlns:h="http://java.sun.com/jsf/html"  
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:p="http://primefaces.org/ui">  
 
    <h:head>  

  
    </h:head>
    
<h:body>
		<div class="modulos">                
                <h3>Digite uma palavra chave para a busca:</h3>        
  				<p:inputText  required="false" label="pesquisaModulo" size="40" id="buscaModulo" onkeyup="filtraModulo()" styleClass="pesquisaModulo"/>
  				<p:panel styleClass="painelLateral">
  				
			    <p:tree value="#{ajudaMB.root}" var="node" id="tree" dynamic="true" cache="false" selectionMode="single" selection="#{ajudaMB.selectedNode}" styleClass="listaModulos" >
			    <p:ajax event="select" update=":form:mensagens :form:rotulo :form:conteudo :form:painel" listener="#{ajudaMB.onNodeSelect}" />
			   
			        <p:treeNode  id="treeNode" expanded="true" >  
			            <h:outputText value="#{node}" id="lblNode"/>
			        </p:treeNode> 
			         
			    </p:tree>
			    </p:panel>
		</div>

</h:body>  
</html> 